main {
    display: block;
}

.ly-layout {
    position: relative;
    width: 100%;
    max-width: 2078px;
    margin: 0 auto;
}

.grid {
    position: relative;
    margin-bottom: 56px;
    width: 100%;
    display: grid; /*  网格布局 */
    grid-gap: 20px 12px;
}

.grid.grid-margin {
    margin-bottom: 24px;
}


/*----轮播图  内容 刷新按钮----*/
.grid-content-2 {
    position: relative;
    width: 100%;
    display: grid; /*  网格布局 */
    grid-gap: 20px 12px;
}

/*轮播图*/
.grid-swipe {
    position: relative;
    grid-column: span 2;
    grid-column: 1/3;
    grid-row: 1/3;
}

.swipe-core {
    position: relative;
    width: 100%;
}

.swipe-shim {
    opacity: 0;
    visibility: hidden;
    user-select: none;
    pointer-events: none;
    grid-column: span 2;
    grid-row: span 2;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    display: grid;
    grid-gap: 20px 12px;
}

.shim-card {
    width: 100%;
    height: 0;
    padding-top: 56.25%;
}

.swipe-body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    transform: translate(0);
    border-radius: 6px;
    overflow: hidden;
    background-color: #f1f2f3;
}

/*内容（图片+标题，也是所有内容的主题样式）*/
.news-card {
    position: relative;
    --title-font-size: 15px;
    --title-line-height: 22px;
    --subtitle-font-size: 13px;
    --subtitle-line-height: 16px;
    --info-margin-top: 8px;
    --avatar-size: 36px;
    --avatar-margin-right: 8px;
    --icon-size: 18px;
    --title-padding-right: 16px;
    --follow-icon-font-size: 12px;
    --follow-icon-line-height: 17px;
}

.news-card-images {
    position: relative;
    z-index: 1;
    border-radius: 6px;
}

.card-images {
    padding-top: 56.25%;
    border-radius: inherit;
    background-color: #f1f2f3;
}

.v-img {
    position: relative;
    display: inline-block;
    line-height: 1;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    background-color: #f1f2f3;
}

.v-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: inherit;
}

.card-cover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: contain;
}

.news-card-info {
    margin-top: 10px;
    min-height: calc(22px * 2 + 16px + 4px);
    display: -webkit-flex;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.card-info {
    min-width: 0;
    flex: 1;
}

.info-title {
    padding-right: 24px;
    color: #18191c;
    font-size: 15px;
    line-height: 22px;
    height: calc(2 * 22px);
    transition: color .2s linear;
    display: -webkit-flex;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word !important;
    line-break: anywhere;
    -webkit-line-clamp: 2;
    font-weight: 500;
}

.info-bottom {
    margin-top: 4px;
    color: #9499a0;
    font-size: 13px;
    line-height: 16px;
    height: 16px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.info-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    color: #ff7f24;
    background-color: #fff0e3;
    border-radius: 4px;
    margin-right: 4px;
    font-size: 12px;
    line-height: 17px;
    height: 17px;
    padding: 0 4px;
    cursor: default;
}

.info-owner {
    transition: color .2s linear;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    display: -webkit-inline-flex;
    display: inline-flex;
}

.info-author {
    min-width: 0;
    flex: 1;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word !important;
    line-break: anywhere;
    -webkit-line-clamp: 1;
    line-height: 16px;
}

/*刷新按钮样式*/
.grid-content-2-btn {
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 2;
    transform: translate(10px);
}

.roll-btn {
    flex-direction: column;
    margin-left: 0;
    height: auto;
    width: 40px;
    padding: 9px;
    color: #18191c;


    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 12px;
    border: 1px solid #e3e5e7;
    background-color: #ffffff;
    transform-origin: center;
    transition: .2s;
    cursor: pointer;
}

/*--------推广------------------*/
.grid-content-3 {
    min-height: 240px;
    position: relative;
}

.grid-header {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.grid-header .left, .grid-header .right {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.grid-header .title {
    margin-right: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 24px;
    color: #18191c;
    transition: color .2s linear;
}

.grid-header .title span {
    margin-right: 4px;
}

.grid-body {
    position: relative;
    width: 100%;
    display: grid;
    grid-gap: 20px 12px;
}

/*-----广告--------*/
.grid-banner {
    margin-bottom: 56px;
}

.grid-banner a {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
}

/*---内容 排行榜----*/
.card-list.is-main {
    position: relative;
}

.card-list {
    min-height: 400px;
}

.card-header {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.card-left, .card-right {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card-left .title {
    margin-right: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 24px;
    color: #18191c;
    transition: color .2s linear;
}

.card-right-btn, .card-more {
    height: auto;
    padding: 8px 12px;
    line-height: 16px;
    font-size: 13px;
    color: #18191c;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #e3e5e7;
    background-color: #ffffff;
    margin-left: 8px;
    transform-origin: center;
    transition: .2s;
    cursor: pointer;
}

.card-body {
    position: relative;
    width: 100%;
    display: grid;
    grid-gap: 20px 12px;
}

aside {
    position: relative;
}

.side-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.side-head {
    flex-shrink: 0;
}

.side-body {
    flex-grow: 1;
    position: relative;
}

.side-core {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.core-grid {
    height: 100%;
    --index-font-size: 14px;
    --index-line-height: 20px;
    --title-font-size: 14px;
    --title-line-height: 18px;
    --subtitle-font-size: 12px;
    --subtitle-line-height: 16px;
    --icon-size: 18px;
}

.rank-list {
    border: 1px solid #f1f2f3;
    border-radius: 6px;
    background-color: #f6f7f8;
    overflow: hidden;
}

.core-grid > .rank-list {
    height: 100%;
    display: grid;
    grid-template-rows: repeat(var(--rank-grid-count, 8), 1fr);
}

.core-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rank-list--item:nth-of-type(2n + 1) {
    background-color: #ffffff;
}

.rank-list--item {
    position: relative;
    padding: 0 8px;
}

.rank-list li {
    list-style: none;
}

.rank-list--item--wrap {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
}

.rank-list--item--index[data-index="1"] {
    color: #ff473d;
}

.rank-list--item--index[data-index="2"] {
    color: #ff6a29;
}

.rank-list--item--index[data-index="3"] {
    color: #ff9214;
}

.rank-list--item--index {
    margin-right: 6px;
    width: 20px;
    font-style: italic;
    color: #c9ccd0;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.rank-list--item--concise {
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    min-width: 0;
    flex: 1;
    width: 100%;
    color: #18191c;
    text-decoration: none;
    transition: color .2s linear;
}

.rank-list--item--info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.rank-list--item--info--tit {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word !important;
    line-break: anywhere;
    -webkit-line-clamp: 1;
    width: 100%;
    font-size: 14px;
    line-height: 18px;
}


/*------内容-------*/
.grid-content-1 {
    min-height: 400px;
    position: relative;
}

.item-body {
    position: relative;
    width: 100%;
    display: grid;
    grid-gap: 20px 12px;
}


@media (min-width: 2200px) {

    .ly-layout {
        max-width: 2078px;
    }

    .grid.grid-margin {
        margin-bottom: 36px;
    }

    .grid {
        grid-template-columns: repeat(7, 1fr);
    }

    /*----轮播图  内容 刷新按钮----*/
    .grid-content-2 {
        grid-column: span 7;
        grid-template-columns: repeat(7, 1fr);
    }

    .swipe-shim {
        grid-gap: 20px 16px;
    }

    .news-card {
        --title-font-size: 16px;
        --title-line-height: 24px;
        --subtitle-font-size: 14px;
        --subtitle-line-height: 19px;
        --info-margin-top: 12px;
        --avatar-size: 40px;
        --avatar-margin-right: 12px;
        --icon-size: 20px;
        --title-padding-right: 24px;
    }


    /*--------推广----------*/
    .grid-content-3 {
        grid-column: span 7;
    }

    .grid-header {
        height: 34px;
        margin-bottom: 12px;
    }

    .grid-body {
        grid-column: span 7;
        grid-template-columns: repeat(7, 1fr);
        grid-gap: 20px 16px;
    }

    /*-------内容 排行榜-------------------*/
    .card-list.is-main {
        grid-column: span 6;
    }

    .card-header {
        height: 34px;
        margin-bottom: 12px;
    }

    .card-body {
        grid-column: span 6;
        grid-template-columns: repeat(6, 1fr);
        grid-gap: 20px 16px;
    }

    .core-grid {
        --index-font-size: 16px;
        --index-line-height: 22px;
        --title-font-size: 15px;
        --title-line-height: 20px;
        --subtitle-font-size: 14px;
        --subtitle-line-height: 18px;
        --icon-size: 20px;
    }

    .rank-list {
        --rank-grid-count: 10;
    }


    /*------内容12-------*/
    .grid-content-1 {
        grid-column: span 7;
    }

    .item-body {
        grid-column: span 7;
        grid-template-columns: repeat(7, 1fr);
        grid-gap: 20px 16px;
    }

}

@media (min-width: 1701px) and (max-width: 2199.9px) {

    .ly-layout {
        padding: 0 96px;
        max-width: 2270px;
    }

    .grid.grid-margin {
        margin-bottom: 24px;
    }

    .grid {
        grid-template-columns: repeat(6, 1fr);
    }

    /*----轮播图  内容 刷新按钮----*/
    .grid-content-2 {
        grid-column: span 6;
        grid-template-columns: repeat(6, 1fr);
    }

    .grid-content-2 > *:nth-of-type(1n + 10) {
        display: none !important;
    }

    .news-card {
        --info-margin-top: 10px;
        --subtitle-font-size: 13px;
        --title-padding-right: 24px;
    }

    /*--------推广----------*/
    .grid-content-3 {
        grid-column: span 6;
    }

    .grid-header {
        height: 34px;
        margin-bottom: 12px;
    }

    .grid-body {
        grid-column: span 6;
        grid-template-columns: repeat(6, 1fr);
    }

    .grid-body > *:nth-of-type(1n + 7) {
        display: none !important;
    }

    /*-------内容 排行榜-------------------*/
    .card-list.is-main {
        grid-column: span 5;
    }

    .card-header {
        height: 34px;
        margin-bottom: 12px;
    }

    .card-body {
        grid-column: span 5;
        grid-template-columns: repeat(5, 1fr);
    }

    .card-body > *:nth-of-type(1n + 11) {
        display: none !important;
    }

    .core-grid {
        --subtitle-font-size: 13px;
    }

    .rank-list {
        --rank-grid-count: 9;
    }

    .rank-list > *:nth-of-type(1n + 10) {
        display: none !important;
    }

    /*------内容12-------*/
    .grid-content-1 {
        grid-column: span 6;
    }

    .item-body {
        grid-column: span 6;
        grid-template-columns: repeat(6, 1fr);
    }

    .item-body > *:nth-of-type(1n + 13) {
        display: none !important;
    }

}

@media (min-width: 1367px) and (max-width: 1700.9px) {
    .ly-layout {
        padding: 0 56px;
    }

    .grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-content-2 {
        grid-column: span 5;
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-content-2 > *:nth-of-type(1n + 8) {
        display: none !important;
    }

    .news-card {
        --info-margin-top: 10px;
    }


    .grid-content-3 {
        grid-column: span 5;
    }

    .grid-header {
        height: 34px;
        margin-bottom: 12px;
    }

    .grid-body {
        grid-column: span 5;
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-body > *:nth-of-type(1n + 6) {
        display: none !important;
    }


    .card-list.is-main {
        grid-column: span 4;
    }

    .card-body {
        grid-column: span 4;
        grid-template-columns: repeat(4, 1fr);
    }

    .card-body > *:nth-of-type(1n + 9) {
        display: none !important;
    }

    .card-header {
        height: 34px;
        margin-bottom: 12px;
    }

    .rank-list > *:nth-of-type(1n + 9) {
        display: none !important;
    }

    .rank-list {
        --rank-grid-count: 8;
    }


    .grid-content-1 {
        grid-column: span 5;
    }

    .item-body {
        grid-column: span 5;
        grid-template-columns: repeat(5, 1fr);
    }

    .item-body > *:nth-of-type(1n + 11) {
        display: none !important;
    }


}

@media (min-width: 1100px) and (max-width: 1366.9px) {

    .ly-layout {
        padding: 0 56px;
    }

    .grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-content-2 {
        grid-column: span 5;
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-content-2 > *:nth-of-type(1n + 8) {
        display: none !important;
    }

    .grid-content-3 {
        grid-column: span 5;
    }

    .grid-header {
        height: 28px;
        margin-bottom: 12px;
    }

    .grid-body {
        grid-column: span 5;
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-body > *:nth-of-type(1n + 6) {
        display: none !important;
    }

    .card-list.is-main {
        grid-column: span 4;
    }

    .card-body {
        grid-column: span 4;
        grid-template-columns: repeat(4, 1fr);
    }

    .card-body > *:nth-of-type(1n + 9) {
        display: none !important;
    }

    .card-header {
        height: 28px;
        margin-bottom: 12px;
    }

    .rank-list > *:nth-of-type(1n + 10) {
        display: none !important;
    }

    .rank-list {
        --rank-cover: none;
        --rank-grid-count: 9;
        --rank-title-line: 1;
    }

    .grid-content-1 {
        grid-column: span 5;
    }

    .item-body {
        grid-column: span 5;
        grid-template-columns: repeat(5, 1fr);
    }

    .item-body > *:nth-of-type(1n + 11) {
        display: none !important;
    }

}

@media (max-width: 1099.9px) {

    .ly-layout {
        padding: 0 56px;
    }

    .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-content-2 {
        grid-column: span 4;
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-content-2 > *:nth-of-type(1n + 6) {
        display: none !important;
    }

    .grid-content-3 {
        grid-column: span 4;
    }

    .grid-header {
        height: 28px;
        margin-bottom: 12px;
    }

    .grid-body {
        grid-column: span 4;
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-body > *:nth-of-type(1n + 5) {
        display: none !important;
    }

    .card-list.is-main {
        grid-column: span 3;
    }

    .card-body {
        grid-column: span 3;
        grid-template-columns: repeat(3, 1fr);
    }

    .card-body > *:nth-of-type(1n + 7) {
        display: none !important;
    }

    .card-header {
        height: 28px;
        margin-bottom: 12px;
    }

    .rank-list > *:nth-of-type(1n + 10) {
        display: none !important;
    }

    .rank-list {
        --rank-cover: none;
        --rank-grid-count: 9;
        --rank-title-line: 1;
    }

    .grid-content-1 {
        grid-column: span 4;
    }

    .item-body {
        grid-column: span 4;
        grid-template-columns: repeat(4, 1fr);
    }

    .item-body > *:nth-of-type(1n + 9) {
        display: none !important;
    }

}
